﻿@model ScmSafeProductionViewModel
@{
    Layout = null;
    ViewBag.Title = "重点建设项目安全生产台账-添加";
}
<script src="/Scripts/jQuery/jquery.validate.min.js" type="text/javascript"></script>
<script src="/Scripts/jQuery/jquery.validate.unobtrusive.min.js" type="text/javascript"></script>
@{Html.EnableClientValidation();}
@using (Html.BeginForm("SafeProductionAddData", "ScmSafeProduction", null, FormMethod.Post, new { onsubmit = "return validateCallback(this,dialogAjaxDone);", @class = "pageForm required-validate" }))
{
@*<form method="post" action="@Url.Action("SafeProductionAddData", "ScmSafeProduction")" class="pageForm required-validate" onsubmit="return validateCallback(this,dialogAjaxDone)">*@
    <div class="pageFormContent sortDrag" layouth="58">
        @Html.TextBoxFor(model => model.TheScmSafeProductionInfo.Sp_OperateUserID, new { @type = "hidden", @readonly = "readonly" })
        @Html.TextBoxFor(model => model.TheScmSafeProductionInfo.Sp_OperateUserName, new { @type = "hidden", @readonly = "readonly" })
        @Html.TextBoxFor(model => model.TheScmSafeProductionInfo.Sp_OperateTime, new { @type = "hidden", @readonly = "readonly", Value = DateTime.Now })
        <table class="tab01 tabNo" width="100%;">
            <tr>
                <td class="td1" style="width: 30%;">日期：</td>
                <td>
                    @Html.TextBoxFor(model => model.TheScmSafeProductionInfo.Sp_Date, new { @class = "date input02" })
                </td>
            </tr>
            <tr>
                <td class="td1">安全人员管理：</td>
                <td>
                    @Html.TextBoxFor(model => model.TheScmSafeProductionInfo.Sp_SafePerson, new { @class = "input02" })
                </td>
            </tr>
            <tr>
                <td class="td1">项目责任人：</td>
                <td>
                    @Html.TextBoxFor(model => model.TheScmSafeProductionInfo.Sp_LiablePerson, new { @class = "input02" })
                </td>
            </tr>
            <tr>
                <td class="td1">信誉评价扣分：</td>
                <td>
                    @Html.TextBoxFor(model => model.TheScmSafeProductionInfo.Sp_CreditDeduct, new { @class = "input02" })
                </td>
            </tr>
            <tr>
                <td class="td1">挂牌督办：</td>
                <td>
                    @Html.TextBoxFor(model => model.TheScmSafeProductionInfo.Sp_Supervise, new { @class = "input02" })
                </td>
            </tr>
            <tr>
                <td class="td1">项目名称：</td>
                <td>
                    @*  @Html.TextBoxFor(model => model.TheScmSafeProductionInfo.Sp_ProjectName, new { @size = "95", @class = "input02" })*@
                    @Html.TextBoxFor(model => model.TheScmSafeProductionInfo.Sp_ProjectName, new Dictionary<string, object> { { "class", "data-val-required input02" } })
                    @Html.ValidationMessageFor(model => model.TheScmSafeProductionInfo.Sp_ProjectName)
                </td>
            </tr>
            <tr>
                <td class="td1">外业存在问题：</td>
                <td>
                    @Html.TextBoxFor(model => model.TheScmSafeProductionInfo.Sp_FieldProblem, new { @size = "95", @class = "input02" })
                </td>
            </tr>
            <tr>
                <td class="td1">内业存在问题：</td>
                <td>
                    @Html.TextBoxFor(model => model.TheScmSafeProductionInfo.Sp_InteriorProblem, new { @size = "95", @class = "input02" })
                </td>
            </tr>
            <tr>
                <td class="td1">整改情况：</td>
                <td>
                    @Html.TextBoxFor(model => model.TheScmSafeProductionInfo.Sp_Correct, new { @size = "95", @class = "input02" })
                </td>
            </tr>
            <tr>
                <td class="td1">备注：</td>
                <td>
                    @Html.TextBoxFor(model => model.TheScmSafeProductionInfo.Sp_Remark, new { @size = "95", @class = "input02" })
                </td>
            </tr>
        </table>
    </div>

    <div class="formBar">
        <ul>
            <li>
                <button type="submit" class="btn btn-sm">保存</button>
            </li>
            <li>
                <button type="button" class="close btn btn-default btn-sm">取消</button>
            </li>
        </ul>
    </div>

}

